import { Controller } from "egg";
export default class ADController extends Controller {
    /**
     * 获取广告配置
     * */
    public async getAdConfig() {
        const { ctx } = this;
        ctx.body = await ctx.service.admin.advertise.getAdConfig()
    }
    /**
     * 保存
     * */
    public async setAdConfig() {
        const { ctx } = this;
        ctx.body = await ctx.service.admin.advertise.setAdConfig()
    }
}